import { createApp } from 'vue';
import App from './App.vue';
import { createPinia } from 'pinia';
import router from './route/index';
import './assets/css/index.css';
//引入pina
const pinia = createPinia();
//这里是为了解决 tailwind 与 ui库的preflight 冲突（naive ui的样式会被覆盖。所以这里在挂载app前动态的在末尾加上meta标签）
const meta = document.createElement('meta');
meta.name = 'naive-ui-style';
document.head.appendChild(meta);

createApp(App).use(router).use(pinia).mount('#app');
